home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- cls
- echo ChromaTools Installation Batch
- echo -----------------------------------
- if %4it==zztopit goto COP2
- if %3it==zztopit goto COP2
- set todir=CHROMA
- if %1x==x goto badargs
- if %2x==x goto badargs
- if %3x==x goto default
- set todir=%3
- :default
- echo °
- echo This batch will install the ChromaTools software onto your disk.
- echo °
- echo ChromaTools requires 1.5 MB of disk space for installation.
- echo °
- echo The ChromaTools disk #1 should now be in drive %1
- echo °
- echo The ChromaTools software will be copied to drive %2
- echo °
- echo ChromaTools will be installed on drive %2 in the directory %todir%
- echo °
- echo If this is not correct, then type the CTRL and BREAK keys together
- echo to end this process now, and then restart providing the proper drives.
- echo
- echo If everything is OK, then this process will continue after you type a key.
- echo
- pause
- if NOT exist %1:INSTALL.BAT goto badfiles
- MD %2:\%todir%
- CD %2:\%todir%
- COPY %1:INSTALL.BAT %2:*.*
- GOTO INSTAL2
- :COP2
- CLS
- echo ChromaTools Installation Batch
- echo ----------------------------
- echo
- echo
- echo Now the ChromaTools program and files will be copied from %1 to %2.
- echo
- echo
- if not exist %1:CHROMA1.EXE goto badfiles
- ECHO ON
- COPY %1:CHROMA1.EXE %2:*.*
- ECHO OFF
- if NOT exist %2:CHROMA1.EXE goto nogood
-
- :disk2
- CLS
- ECHO OFF
- echo
- echo
- echo
- echo
- ECHO INSERT ChromaTools DISK #2
- echo
- echo
- echo
- echo
- PAUSE
- ECHO OFF
- if not exist %1:CHROMA2.EXE goto badfile2
- ECHO ON
- COPY %1:CHROMA2.EXE %2:*.*
- ECHO OFF
- if NOT exist %2:CHROMA2.EXE goto nogood
-
- :disk3
- CLS
- ECHO OFF
- echo
- echo
- echo
- echo
- ECHO INSERT ChromaTools DISK #3
- echo
- echo
- echo
- echo
- PAUSE
- ECHO OFF
- if not exist %1:CHROMA3.EXE goto badfile3
- ECHO ON
- COPY %1:CHROMA3.EXE %2:*.*
- ECHO OFF
- if NOT exist %2:CHROMA3.EXE goto nogood
-
-
- CLS
- echo
- echo THE ChromaTools FILES HAVE BEEN COPIED SUCCESSFULLY!
- echo
- echo
- echo Now ChromaTools will unpack itself.
- echo
- %2:
- CHROMA1
- CHROMA2
- CHROMA3
- if NOT exist %2:CHROMA.EXE goto nogood
- DEL CHROMA1.EXE
- DEL CHROMA2.EXE
- DEL CHROMA3.EXE
- cls
- echo
- echo THE ChromaTools FILES HAVE BEEN SUCCESSFULLY INSTALLED!
- echo
- echo ChromaTools defaults to the standard Targa driver (not required).
- echo
- echo Type PLUS to install the Targa+ video drivers.
- echo
- echo Type VISTA to install the ATVista video drivers.
- echo
- echo
- echo
- echo Type CHROMA to start ChromaTools.
- echo
- goto ender
- :badfiles
- echo The ChromaTools disk #1 must be in drive %1!
- goto badargs
- :badfile2
- CLS
- echo The ChromaTools disk #2 must be in drive %1!
- pause
- goto disk2
-
- :badfile3
- CLS
- echo The ChromaTools disk #3 must be in drive %1!
- pause
- goto disk3
-
- :nogood
- echo The installation process has terminated unsuccessfully.
- echo
- echo
- echo Please check to make sure that you typed the correct drive letters ,
- echo and that you have enough free disk space on the target drive.
- echo Refer to the ChromaTools manual for additional information
- echo and restart this batch to try again.
- echo
- echo
- goto ender
- :badargs
- echo
- echo Please type the following:
- echo
- echo INSTALL x y sub
- echo
- echo where x is the source floppy drive
- echo y is the destination disk drive
- echo sub is the optional sub-directory to install in.
- echo
- echo If you do not specify a sub-directory, CHROMA is the default.
- echo
- echo For example, you might type:
- echo
- echo INSTALL A C
- echo
- echo to install from floppy drive A to your hard disk C
- echo
- echo You can also specify the subdirectory, for example CHRMTOOL
- echo
- echo INSTALL A C CHRMTOOL
- echo
- echo to install the ChromaTools in the CHRMTOOL subdirectory.
- echo
- GOTO ENDER
- :INSTAL2
- %2:INSTALL %1 %2 %3 zztop
- :ender
-
-